package com.csk.zsk.compents.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.csk.zsk.compents.dao.MessageDao;
import com.csk.zsk.compents.entity.Message;
import com.csk.zsk.compents.service.MessageService;

@Service
@Transactional
public class MessageServiceImpl implements MessageService {

	@Autowired
	private MessageDao messageDao;

	@Override
	public void saveMessage(Message message) {
		messageDao.save(message);
	}

}
